package com.example.demo.test1.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 快照创建配置(SnapshotConfig)实体类
 *
 * @author makejava
 * @since 2022-05-13 09:19:41
 */
public class SnapshotConfig implements Serializable {
    private static final long serialVersionUID = 489989128967262790L;
    
    private Integer id;
    /**
    * 快照创建周期大小
    */
    private Integer cycleValue;
    /**
    * 快照创建周期单位：1-second 2-minute 3-hour 4-day 5-weekend 6-month 7-quarter 8-year
    */
    private Integer cycleUnit;
    /**
    * 配置创建时间
    */
    private Date createTime;
    /**
    * 配置修改时间
    */
    private Date updateTime;
    /**
    * 是否开启定时任务创建快照：0-未开启 1-开启
    */
    private Integer status;
    /**
    * 配置修改人id
    */
    private Long userId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCycleValue() {
        return cycleValue;
    }

    public void setCycleValue(Integer cycleValue) {
        this.cycleValue = cycleValue;
    }

    public Integer getCycleUnit() {
        return cycleUnit;
    }

    public void setCycleUnit(Integer cycleUnit) {
        this.cycleUnit = cycleUnit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

}